<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>导航栏1</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        div{
            width: 960px;
            height: 40px;
            border: 1px solid black;
            margin: 100px auto 0;
        }
        div ul{
            list-style: none;
        }
        div ul li{
            float: left;
        }
        div ul li a{
            height: 40px;
            width: 60px;
            display: inline-block;
            text-decoration: none;
            font: 14px '微软雅黑';
            color: #333;
            line-height: 40px;
            text-align: center;
            padding: 0 20px;
        }
        div ul li span{
            font-size: 14px;
            color: #333;
        }
        div ul li:nth-child(1){
            margin-left: 115px;
        }
    </style>
</head>
<body>
    <div>
        <ul>
            <li><a href="">首页</a><span>|</span></li>
            <li><a href="">网站建设</a><span>|</span></li>
            <li><a href="">程序开发</a><span>|</span></li>
            <li><a href="">网络营销</a><span>|</span></li>
            <li><a href="">企业VI</a><span>|</span></li>
            <li><a href="">案例展示</a><span>|</span></li>
            <li><a href="">联系我们</a></li>
        </ul>
    </div>
</body>
</html>